﻿<Application x:Class="PotatoSoft.VisualOctStudio.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:ad="clr-namespace:AvalonDock;assembly=AvalonDock"
             xmlns:vm="clr-namespace:PotatoSoft.ViewModel;assembly=PotatoSoft.ViewModel"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             mc:Ignorable="d"
             StartupUri="SplashScreenWindow.xaml">
             <!-- Startup="Application_Startup" -->
    <Application.Resources>
        <ImageBrush x:Key="tlo" ImageSource="splashscreen.png"  />
        <vm:ViewModelLocator x:Key="Locator" d:IsDataSource="True" />
<LinearGradientBrush x:Key="menuBrush" StartPoint="0,0" EndPoint="0,1">
            <GradientStop Color="#bcc7d8" Offset="0.0"></GradientStop>
            <GradientStop Color="#2d3e5c" Offset="0.5"></GradientStop>
        </LinearGradientBrush>
        <SolidColorBrush Color="#bcc7d8" x:Key="jasny"></SolidColorBrush>

        <Style x:Key="menu" TargetType="{x:Type Menu}">
            <Setter Property="Background" Value="{StaticResource menuBrush}"/>
            <Setter Property="Foreground" Value="White"/>

        </Style>
        <Style x:Key="menuitem" TargetType="{x:Type MenuItem}">
            <Setter Property="Background" Value="{StaticResource jasny}"/>
            <Setter Property="Foreground" Value="Black"/>

        </Style>



    </Application.Resources>
    
</Application>
